#pragma once
#include "Headers.h"

using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
using namespace WeifenLuo::WinFormsUI::Docking;

namespace OgreUnified {

	public ref class HierarchyForm : public WeifenLuo::WinFormsUI::Docking::DockContent
	{
	public:
		HierarchyForm(void)
		{
			InitializeComponent();
			Instance = this;	
		}
		static property HierarchyForm^Instance;

	protected:
		~HierarchyForm()
		{
			if (components)
			{
				delete components;
			}
		}
	private:
		System::Windows::Forms::ToolStrip^  toolStrip1;
		System::Windows::Forms::TreeView^  treeView1;
		System::ComponentModel::Container ^components;

		void InitializeComponent(void)
		{
			this->toolStrip1 = (gcnew System::Windows::Forms::ToolStrip());
			this->treeView1 = (gcnew System::Windows::Forms::TreeView());
			this->SuspendLayout();
			// 
			// toolStrip1
			// 
			this->toolStrip1->Location = System::Drawing::Point(0, 0);
			this->toolStrip1->Name = L"toolStrip1";
			this->toolStrip1->Size = System::Drawing::Size(284, 25);
			this->toolStrip1->TabIndex = 0;
			this->toolStrip1->Text = L"toolStrip1";
			// 
			// treeView1
			// 
			this->treeView1->Dock = System::Windows::Forms::DockStyle::Fill;
			this->treeView1->Location = System::Drawing::Point(0, 25);
			this->treeView1->Name = L"treeView1";
			this->treeView1->Size = System::Drawing::Size(284, 237);
			this->treeView1->TabIndex = 1;
			// 
			// HierarchyForm
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->ClientSize = System::Drawing::Size(284, 262);
			this->Controls->Add(this->treeView1);
			this->Controls->Add(this->toolStrip1);
			this->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->HideOnClose = true;
			this->Name = L"HierarchyForm";
			this->Text = L"Scene Hierarchy";
			this->ResumeLayout(false);
			this->PerformLayout();

		}

	};
}
